//@import 'rc-easyui/dist/themes/default/easyui.css';
//@import 'rc-easyui/dist/themes/icon.css';
//@import 'rc-easyui/dist/themes/react.css';
@import '@kordar-lib/iconfont/dist/index.min.css';
@import '@kordar/easyui/dist/index.min.css';
@import '@kordar/easyui-tpl/dist/index.min.css';

html, body {
    margin: 0;
    padding: 0;
}

#root {
    height: 100vh;
}

.resizable {
    width: 300px;
    height: 150px;
    background-color: lightblue;
    resize: both;
    overflow: auto; /* 需要为元素添加 overflow 才能启用 resize */
}

.sidemenu, .sidemenu-collapsed {
    .tree-file, .tree-folder, .tree-folder-open {
        background: none;
    }
}

.admin-form-submit {
    float: right;
    .l-btn {
        margin-left: 5px;
    }
}

.admin-layout-footer {
    font-size: 0.8em;
}


.dataset-label-card {

    display: flex;
    align-items: center;
    width: 100%; /* 调整宽度以使整体更加紧凑 */
    border: 2px solid gray; /* 颜色 */
    border-radius: 8px;
    padding: 8px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 3px;

    /* 左侧缩略图 */
    .thumb {
        width: 50px;
        height: 50px;
        border-radius: 6px;
        background-color: lightcyan;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        margin-right: 8px;
    }

    .thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 右侧区域 */
    .info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: space-between; /* 使各个元素更加紧凑 */
        gap: 4px; /* 控制间距 */
    }

    /* 第一行: 标签 */
    .tags {
        display: flex;
        gap: 4px;
        margin-bottom: 8px; /* 添加间距 */
    }

    .tag {
        background: #eee;
        color: #333;
        font-size: 10px; /* 缩小字体 */
        padding: 2px 6px; /* 更紧凑的按钮样式 */
        border-radius: 12px;
        font-weight: bold;
    }

    /* 第二行: name */
    .name {
        font-size: 14px;
        font-weight: bold;
    }

    /* 第三行: 备注 */
    .remark {
        font-size: 12px; /* 缩小备注字体 */
        margin-top: 4px;
    }

    /* 第四行: 操作按钮 (右对齐) */
    .actions {
        display: flex;
        justify-content: flex-end;
        gap: 6px; /* 减小按钮间隔 */
        margin-top: 6px;
    }

}

.bucket-detail-title-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

    .back {
        display: flex;
        align-items: center;
        cursor: pointer;
        //transition: all 0.3s ease;
    }

    .back:hover {
        //transform: scale(1.1);
    }

    .iconfont {
      font-size: 14px !important;
    }

    .link {
        font-size: 14px;
        font-weight: 500;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }



}

.fileitem {
    height: 70px;
    padding: 10px;
    font-size: 14px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: inset 0 0 3px rgba(0,0,0,0.2);
    position: relative;
    margin-top: 2px;

    .progress-bar {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: linear-gradient(to right, #4caf50, #81c784);
        width: 0%;
        transition: width 0.3s ease;
        z-index: 1;
    }

    img {
        width: 50px;
        height: 50px;
        z-index: 99;
    }

    .name {
        margin: 0 20px;
        flex: 1;
        z-index: 99;
    }

    .size {
        margin: 0 20px;
        text-align: right;
        z-index: 99;
    }
}




